
<!--
  Preview this file by prepending http://htmlpreview.github.io/? to its URL
  e.g. http://htmlpreview.github.io/?https://raw.githubusercontent.com/Azure/bicep/main/src/highlightjs/test/baselines/strings.html
-->
<html>
  <head>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/styles/default.min.css">
  </head>
  <body>
    <pre class="hljs">
<span class="hljs-comment">// evaluates to &#x27;\&#x27;abc\&#x27;&#x27;</span>
<span class="hljs-variable"><span class="hljs-keyword">var</span></span> <span class="hljs-variable">multilineExtraQuotes</span> = <span class="hljs-string">&#x27;&#x27;&#x27;&#x27;abc&#x27;&#x27;&#x27;&#x27;</span>

<span class="hljs-comment">// evaluates to &#x27;\&#x27;\nabc\n\&#x27;&#x27;</span>
<span class="hljs-variable"><span class="hljs-keyword">var</span></span> <span class="hljs-variable">multilineExtraQuotesNewlines</span> = <span class="hljs-string">&#x27;&#x27;&#x27;&#x27;
abc
&#x27;&#x27;&#x27;&#x27;</span>

<span class="hljs-variable"><span class="hljs-keyword">var</span></span> <span class="hljs-variable">multilineSingleLine</span> = <span class="hljs-string">&#x27;&#x27;&#x27;hello!&#x27;&#x27;&#x27;</span>

<span class="hljs-variable"><span class="hljs-keyword">var</span></span> <span class="hljs-variable">name</span> = <span class="hljs-string">&#x27;Anthony&#x27;</span>
<span class="hljs-variable"><span class="hljs-keyword">var</span></span> <span class="hljs-variable">multilineInterpolation</span> = <span class="hljs-string">$&#x27;&#x27;&#x27;
hello <span class="hljs-subst">${<span class="hljs-variable">name</span>}</span>!
&#x27;&#x27;&#x27;</span>

<span class="hljs-variable"><span class="hljs-keyword">var</span></span> <span class="hljs-variable">multilineInterpolationMultipleEscapes</span> = <span class="hljs-string">$$&#x27;&#x27;&#x27;
hello <span class="hljs-subst">$${<span class="hljs-variable">name</span>}</span>!
${this} is literal
&#x27;&#x27;&#x27;</span>

    </pre>
  </body>
</html>